/**
* @author AlbertDarren
* @contact 2563491540@qq.com
*/
#include <cstdio>

using namespace std;
int increase(int x)
{
    return ++x;
}
int main_49()
{
    int n;
    scanf("%d",&n);
    int increaseByOne=increase(n);
    printf("%d %d\n",increaseByOne,n);
	return 0;
}
